Preparation and Properties of N-Methylol, N-Alkoxymethyl and N-Alkylthiomethyl Polyamides