Energy capture from thermolytic solutions and simulated sunlight coupled with hydrogen peroxide production and wastewater remediation.