Competition and nutrient availability in heathland and grassland ecosystems