Solid state relays and solid state contactors