Design of a Common Mode Filter by using Planar Electromagnetic Bandgap Structures