Recreating a functional ancestral archosaur visual pigment