Sound speed and thermophysical properties of liquid iron and nickel