Optically-Controlled Variable-Temperature Storage and Upgrade of Thermal Energy by Photoswitchable Phase Change Materials