Ex-intelligence man told US about Osama’s hideout: author