From triazines to heptazines: deciphering the local structure of amorphous nitrogen-rich carbon nitride materials.