Design and performance analysis of a three-dimensional sample translation device used in ultrahigh vacuum scanned probe microscopy