Mechanism of magnetoresistance ratio enhancement in MgO/NiFe/MgO heterostructure by rapid thermal annealing