Influence on the transport behaviors of spin-polarized electrons exerted by MgO/NiFe and NiFe/MgO heterointerfaces