Nanobubble technology for wastewater treatment