Electromagnetic material characterization using a partially filled rectangular waveguide