Transient discharge current measurements to study dielectric charging in MEMS