Rational Sidewall Functionalization and Purification of Single-Walled Carbon Nanotubes by Solution-Phase Ozonolysis