The development of structure and microporosity in cellulose carbon