Stratified storage of solar energy