Equivalence of Fourier and Weak-Derivative Definitions of Integer Sobolev Spaces on the Torus