An overview of nanomaterials applied for removing dyes from wastewater