Photothermal heating in plasmonic nanostructures