Thermodynamic and Kinetic Investigation on Electrogeneration of Hydroxyl Radicals for Water Purification