Pošljite SMS: Theoretical and experimental investigation of magnetic layer coupling in spin-valves and magnetic tunnel junctions