What are the energy and environmental impacts of adding battery storage to photovoltaics? A generalized life cycle assessment