Solid phase synthesis of guanidines