Heat engine-based storage systems