New methods of thermal analysis and chemical mapping on a micro and nano scale by combining microscopy with image analysis