NATO, EU critical of ship attack off Oman