Covidien to buy Given Imaging for $860 million