Evaluation and Optimization of Sol-Gel Coatings for Oil and Gas Applications