On the equivalence of the Rietveld method and the correlated integrated intensities method in powder diffraction