Global existence and blowup of solutions for a class of nonlinear higher-order wave equations