Stability of small periodic waves for the nonlinear Schrödinger equation