Fundamental limitations in RF switching and phase shifting using semiconductor diodes