Model of osmosis in a single-file pore.