Sex and the Shifting Biodiversity Dynamics of Marine Animals in Deep Time