Applications of scattering-type scanning near-field optical microscopy in the infrared