Synthesis of a redox-active molecular switch based on dibenzo[1,2]dithiine