Order-Disorder Transition in Doped Microgel Colloidal Crystals and Its Application for Optical Sensing.