Towards a cost-effective biorefinery : production of activated carbons from residual biomass for energy storage devices.