Stochastic resonance and diffusion in periodic potentials