Bounds for solutions of a class of nonlinear differential equations