Obama speaks during opening of UN General Assembly