Polymers and resins containing propane-1,3-dithiol functions as reagents for supported organic syntheses