War 'could have great consequences for the world,' Pakistani PM says at Islamic Cooperation conference, citing prices of oil, gas and wheat; China's FM attends for first time