High-performance inkjet-printed four-terminal microelectromechanical relays and inverters.