Comparison of optical and stylus methods for measurement of surface texture