Hydrogen storage in carbon based materials: a quantum-chemical and molecular dynamics investigation