Dispersal similarly shapes both population genetics and community patterns in the marine realm