How foreign firms tried to sell spy gear to Iran