Hard carbon nanocomposite films with low stress