Evolutionary branching of dispersal strategies in structured metapopulations