Dual-sensing porphyrin-containing copolymer nanosensor as full-spectrum colorimeter and ultra-sensitive thermometer.