Medium Dependent Dual Turn-On/Turn-Off Fluorescence System for Heavy Metal Ions Sensing