Dispersal strategies in patchy environments