Grid interpolation at material boundaries in finite-difference time-domain methods