Analysis of Signal Distortion Caused by Opening Ratio Variation of Main Scale and Index Scale in Linear Encoder