Trade-offs and constraints in visual system evolution: multimodal evidence from diapsid reptiles