Photoluminescent smart hydrogels with reversible and linear thermoresponses.