A Unified Model of Spatiotemporal Processing in the Retina