Best-selling spy author whose workaday secret agents were a world away from the glamour of James Bond.