Spatially periodic solutions in a 1D model of phase transitions with order parameter