Quantum communication with photon-number entangled states and realistic photodetection