How to optimize the design of a quantitative HREM experiment so as to attain the highest precision