Retinal oxygen supply shaped the functional evolution of the vertebrate eye