A Versatile Scanning Near-Field Optical Microscope for Material Science Applications