Code for spectral amplitude coding optical CDMAsystems