Diamond based nanostructures for electronic applications