Information capacity of optical channels