A scanning optical microscope for the inspection of semiconductor materials and devices