Genetic Variation and Adaptation in Coastal Invertebrates