A computational study of a fluorescent photoinduced electron transfer (PET) sensor for cations