Lowering the costs of using solar-powered electricity when it’s not sunny