A Quasi-One-Dimensional Model for a Chain of Water Molecules on the Nanometer Scale