A safer and flexible method for the oxygen functionalization of carbon nanotubes by nitric acid vapors