Efficient coding, channel capacity, and the emergence of retinal mosaics