Metapopulation dynamics