Staircase-free finite-difference time-domain formulation for general materials in complex geometries