Retinal waves: mechanisms and function in visual system development