Lower-dimensional invariant tori for perturbations of a class of non-convex Hamiltonian functions