Resin-bound aminothiols: synthesis and application