Fabrication of polymer-metal nanocomposites with complex polymeric matrices for bactericidal and catalytic applications