Reforestation could help save coral reefs from catastrophe