Quantum-chemical study of competitive photochemical reaction pathways in N-methyldiphenylamine derivatives