Function of the synaptic ribbon in rod and cone photoreceptors