Quantum Chemical Investigations of Nucleophilic Aromatic Substitution Reactions and Acid Dissociations of Aliphatic Carboxylic Acids