The US House of Representatives has voted to bar the sale of commercial Boeing and Airbus airplanes to Iran.