Tunable photochromism of spirooxazines via metal coordination.