Mesoporous nitrogen-doped carbon from nanocrystalline chitin assemblies