wiring diagram for an electrical device with three wires and two switches, one on each side