Text this: Theoretical Analysis and Optimization Strategies of Wavefront Errors and Chromatic Aberrations Induced by Optical Coatings