Characterization and modeling of charging effects in dielectrics for the actuation of RF MEMS ohmic series and capacitive shunt switches