Atomistic description of coupled thermal-mechanical stresses on a gold/HOPG nanocontact