DS-CDMA Code Acquisition in the Presence of Correlated Fading Part I: Theoretical Aspects