Signal shaping by voltage-gated currents in retinal ganglion cells