Renewable electricity storage using electrolysis