Convergence of the Allen-Cahn equation to Brakke's motion by mean curvature