A dual-functional chemical sensor for the detection of Cu2+ and Cd2+ based on the photochromic diarylethene. (8th January 2022)