Text this: Imaging the transient heat generation of individual nanostructures with a mechanoresponsive polymer