Free-energy barriers in incommensurate modulated phases