Species coexistence in a variable world