US curbs laptops and tablets on flights from Mideast