Complex demodulation: Some theory and applications