Encoder systems for rotary motion control