Oscillation criteria for a class of nonlinear differential equations of third order