On the magnetic properties of Invar alloys