Preparation of aminomethyl-polystyrene resin by direct amidomethylation