Bivalent metal ion-dependent photochromism and photofluorochromism from a spiroquinoxazine