Electromagnetic applications of conducting and nanocomposite materials