Electrochemically deposited interconnected porous Co3O4 nanoflakes as anodes with excellent rate capability for lithium ion batteries