Renewable energy revolution will require better management of metals