Homodyne demodulation scheme for fiber optic sensors using phase generated carrier