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