Infinitely many solutions for one-dimensional eigenvalue problems for variational inequalities