Electronic Properties and Applications of Nanodiamond