Volume magnetostriction of iron and nickel