Effect of the anisotropy field and magnetic ordering on the electrical properties of substituted and unsubstituted Nd2CuO4