A novel fabrication process of digital encoding grating ruler for optical displacement sensors