Three-dimensional surface measurement using the confocal scanning microscope