Cotton wastes functionalized biomaterials from micro to nano: a cleaner approach for a sustainable environmental application