The effects of nanoparticle properties on biological imaging and photothermal cancer treatment