A real-time processing system for dual-channel six-degree-of-freedom grating ruler based on FPGA