Developing Functionality in Perovskites from Abatement of Pollutants to Sustainable Energy Conversion and Storage 27 22