Second life batteries in the energy transition