Solving a Class of Nonconvex Quadratic Programs by Inertial DC Algorithms