Modeling and simulation of the electromagnetic properties of composites filled by carbon nanotubes