Two-Dimensional Models of Commensurate-Incommensurate Phase Transitions