The evolution of the eye in trilobites