Extreme-value theory