Spiropyrans and Spirooxazines for Memories and Switches