Lithium-ion batteries and the transition to electric vehicles: environmental challenges and opportunities from a life cycle perspective