A comprehensive review on the role of some important nanocomposites for antimicrobial and wastewater applications