How to fuel an energy transition with ecologically responsible mining