Solving the solar energy storage problem with rechargeable batteries that can convert and store energy at once