EFFECT OF MAGNETIC FIELD ON THE PHASE TRANSITION FROM NUCLEAR MATTER TO QUARK MATTER DURING PROTO-NEUTRON STAR EVOLUTION