These batteries could help boost the prospects of wind and solar energy.