How Africa's economies could benefit from the energy transition