Microstructure and friction behaviour in nanocrystalline diamond films