The design of a PCM mastergroup codec for the Telsat TDMA system