Molecular Dynamics and X-ray Powder Diffraction simulations: Investigation of nano-polycrystalline microstructure at the atomic scale