de Sitter space and the equivalence between f(R) and scalar-tensor gravity