Hydrogen spillover mechanism on covalent organic frameworks as investigated by ab initio density functional calculation.