Thermodynamic Analysis of Solute Effects on Contact Angles. Equilibrium Adsorption of Cationic Surfactants at Silica-Vapor and Silica-Water Interfaces