A ternary Ag–TiO2/reduced graphene oxide nanocomposite as the anode material for lithium ion batteries