Investigation of thermal, antibacterial and heavy metal ion removal behavior of polyamide/polyimide iron oxide nanocomposites