Removal of heavy metal ions from wastewaters using dendrimer-functionalized multi-walled carbon nanotubes