Biotic interactions in recent and fossil benthic communities