Genetic algorithm application for solving inverse problems of X-ray diffraction on systems with quantum dots