How much habitat does a river need? A spatially-explicit population dynamics model to assess ratios of ontogenetical habitat needs.