Magnetic properties and structure of thin Ni–Mn–Sn films and alloys