Exact analysis of signal-to-noise ratio for SAC-OCDMA system with direct detection