A scanning apertureless near-field optical microscope as an instrument for characterizing the optical properties of a surface with nanometer spatial resolution