Magnetic field effect on the photochemistry of chromium complex