Variation in the outcome of population interactions: bifurcations and catastrophes