Trans→cis photoisomerization of the quaternary iodides of 4-cyano- and 4-nitro-4′-azastilbene in ethanol solution: Singlet versus triplet mechanism