Differential detection algorithms for MSK signals over AWGN and frequency-flat Rayleigh fading channels