Nanoporous activated carbon cloth as a versatile material for hydrogen adsorption, selective gas separation and electrochemical energy storage