Planar resonator with negative electric and magnetic polarizabilities