Coding and transmission of information by neural ensembles