Ultraviolet and Infrared Absorption Spectra of Substituted Acetophenones and Benzoic Acids