Homo- and copolymeric polyamidoamines as flame retardants for cotton fabrics