A Comparative Density Functional Theory Study of Hydrogen Storage in Cellulose and Chitosan Functionalized by Transition Metals (Ti, Mg, and Nb)