Hydrogel Nanosensors for Colorimetric Detection and Dosimetry in Proton Beam Radiotherapy.