Excess of locally D-optimal designs and homothetic transformations