Profile agreement indices in Rietveld and pattern-fitting analysis