Existence and nonexistence of solutions of nonlinear Neumann problems