Nanoscale Probing of Physical and Chemical Functionality with Near-Field Optical Microscopy