Allen & Overy advises Merck on takeover