WAF Method and Splitting Procedure for Simulating Hydro- and Thermal-Peaking Waves in Open-Channel Flows