Diffraction of partially coherent X-rays and the crystallographic phase problem.