A two-scale convergence result for a nonlinear scalar conservation law in one space variable