Optimum choice of the transmission alphabet in photon counting channels