A priori estimates and blow-up of solutions to nonlinear differential equations and inequalities