His books of betrayal and deception, including “The Ipcress File,” skewered espionage services and sharply mocked English social strictures.