Structural and magnetic properties of Ni78Fe22 thin films sandwiched between low-softening-point glasses and application in spin devices