Photothermal Effect of Nanomaterials for Efficient Energy Applications