X-ray diffraction methodology for the microstructural analysis of nanocrystalline powders: application to cerium oxide