Poor countries are investing a lot more than rich countries in renewable energy