Molecular-based equation of state for TIP4P water