The nexus between research and development, renewable energy and environmental quality: Evidence from developed and developing countries