Information capacity of a single photon