Quark model and the magnetic moments of proton and neutron