Pakistan elected as President of UN Economic and Social Council