Stability of solutions of a one-dimensional p-Laplace equation with periodic potential