MI5 file lays bare case of New Zealand diplomat named as KGB spy