Microscale temperature measurement by scanning thermal microscopy