Two-state thermodynamics of the ST2 model for supercooled water.