PaperTheoretical investigation of the relationship between spin torque and magnetoresistance in spin-valves and magnetic tunnel junctions