Green energy shift must also bring prosperity and equality: UN deputy chief