Boundary value problems for nonlinear differential equations on noncompact intervals