Device for measuring electrostatic generation and dissipation on the surfaces of polymeric materials