Absolute rotary encoders