Observation and analysis of quantum wire structures by high-resolution X-ray diffraction