Syntheses, electrochemical behaviors, spectral properties and DFT calculations of two 1,3-dithiole derivatives