An STM having integrated capacitive sensors for calibration of scanner displacements