Multifunctional Co3S4/graphene composites for lithium ion batteries and oxygen reduction reaction.