Cape Town reaps rewards of green energy push