Single versus double proton transfer in the photochromic Schiff bases. Electronic spectroscopy and synthesis of model compounds