Computer generation of composite X-ray powder patterns. A BESM-6 FORTRAN program and its application to special problems of quantitative phase analysis