Somerset bowl out Essex for 216 on the opening day at Chelmsford, despite a fine 80 from ex-England captain Alastair Cook.