Archaean and Proterozoic diamond growth from contrasting styles of large-scale magmatism