Developing "Smart Windows" for optical storage and temperature sensing based on KNN transparent ceramics