Absolute shaft encoders