Maximum-Likelihood Acquisition of Spread-Spectrum Signals in Frequency-Selective Fading Channels