Carbon sequestration in ecosystems: the role of stoichiometry