pulse amplitude modulation and demodulation experiment theory