IC-compatible process for fabrication of RF switches and tunable capacitors