Modelling the adaptive value of intertidal migration and nursery use in the bivalve Macoma balthica