Existence of solutions of the Neumann problem for a class of equations involving the p-Laplacian via a variational principle of Ricceri