Objective comparison of concentration profiles in solids by means of mathematical statistics