Design and analysis of spreading code and transceiver architectures for optical CDMA networks