Commensurate configurations in the ground state of a phi 4 model with next-nearest-neighbour interactions