The interactive role of predation, competition and habitat conditions in structuring an intertidal bivalve population