A scanning local probe profilometer and reflectometer: application to optical control of integrated circuits