Investigation of morphology and chemical composition of self-organized semiconductor quantum dots and wires by X-ray scattering