Boundaries and dynamics of biomes