Förster energy transfer to a spirooxazine photochromic molecule through one- and two-photon absorption