Text this: Construction of a new code for spectral amplitude coding in optical code-division multiple-access systems