The role of algal symbiosis in reefs through time