Photochromic spironaphthoxazines: A theoretical study