Nonautonomous saddle-node bifurcations: Random and deterministic forcing