Infrared absorption and nuclear magnetic resonance studies of carbon nitride thin films prepared by reactive magnetron sputtering