Competitive photocyclization/rearrangement of 4-aryl-1,1-dicyanobutenes controlled by intramolecular charge-transfer interaction. Effect of medium polarity, temperature, pressure, excitation wavelength, and confinement