A ratiometric fluorescent probe for magnesium employing excited state intramolecular proton transfer