Storing wind and solar energy