Throughput analysis of direct-sequence CDMA-ALOHA in a near-far environment