Study of composition and bonding character of CNx films