Text this: Precision in peak parameter estimation for Gaussian and Lorentzian profiles: Guidelines for instrument optimization