Ultrafast processes triggered by one- and two-photon excitation of a photochromic and luminescent hydrazone