Ecological interactions and community structure in living and subfossil mollusc assemblages from the southern Great Barrier Reef