Novel optical sensor for the measurement of surface texture