Thermodynamic Optimization of Retinal Photocoagulation Surgery: Computational Model with Experimental Verification