Nonlinear boundary value problems and competition in the chemostat