Optical probing of sample heating in scanning near-field experiments with apertured probes