A study of heterogeneous niobium carbonitride thin films deposited by reactive sputtering