Electrical and optical characteristics of boron doped nanocrystalline diamond films