Charge and spin contact density in ferromagnetic iron and nickel