Extent of UK cooperation with Gaddafi revealed