A comparison of profile decomposition and Rietveld methods for structural refinement with powder diffraction data