Mechanism of the photoreduction of N-Alkylbenzylidenimines