Testing a two-state model of nanoconfined liquids: conformational equilibrium of ethylene glycol in amorphous silica pores.