Abstract wave equations with generalized Wentzell boundary conditions