Facile preparation of functionalized poly(amidoamine)s with biocidal activity on wood substrates