Contrast mechanisms in photothermal scanning tunneling microscopy