Bonding in amorphous carbon nitride