Metals in the energy transition