Optimum demodulation of digital signals over band-limited channels