Nanoscale temperature sensing using the Seebeck effect