A blind delay estimation algorithm for long-code DS/CDMA systems