Four-parameter equation of state and determination of the thermal and mechanical properties of metals