Effective design of optical code-division multiple access networks by using the modified prime code