Magnetic zinc-air batteries for storing wind and solar energy