Collective Sensing and Information Transfer in Animal Groups