South Africa’s most populous and intimidating city has been named its most environmentally friendly