Normal-to-incommensurate phase transition in the spin-Peierls compound TiOCl: An x-ray diffraction study