Applications of Nanophotonic Photothermal Effects and Their Theoretical Modeling