Hydrogen sorption by nanostructured materials under thermal and mechanical activation