Optimal finite-element interpolation on curved domains