Optimal interface error estimates for the mean curvature flow