Evolution, Radiations, and Extinctions in Proterozoic to Mid-Paleozoic Reefs