New x-ray diffraction methods for the analysis of the structure and morphology of nanocrystalline powders