Good cricket will silence hostile crowds, says Alastair Cook