Static and small-signal modeling of radiofrequency hexagonal boron nitride switches