Averaged equations and wave jumps describing the propagation of stokes waves with slowly varying parameters