Demodulation scheme for fiber-optic gyroscope based on digital phase tracking