Synthesis, photochromic properties, and complex formation with metal ions of hydrazones based on a spiropyran of oxaindane series