Transient scattering from arbitrarily shaped composite conducting and dielectric structures