A comparative analysis of structural parameters obtained by diffractometer and scanning-densitometer measurements