Reduction and reconstruction of Co 3O 4 nanocubes upon carbon deposition