Effects of a NiFe/MgO interface on the thermoelectric transport behavior of spin-polarized electrons