Gravar-mail: Latency and rate coding in a spiking model of retina