Effect and application of micro- and nanobubbles in water purification