What is the primary function of the cornea in the human eye?