On parameter estimation in long-code DS/CDMA systems: Cramer-Rao bounds and least-squares algorithms