Cape Town to buy electricity from businesses and residents