Demonstration of bidirectional photoinduced electron transfer (PET) sensing in 4-amino-1,8-naphthalimide based thiourea anion sensors.