Testing the role of biological interactions in the evolution of mid-Mesozoic marine benthic ecosystems