Fabrication of diamond nanopillars and their arrays