Life-cycle carbon emissions and energy implications of high penetration of photovoltaics and electric vehicles in California