Optical hollow shaft incremental encoders