Novel spinel nanocomposites of NixCo1-xFe2O4 nanoparticles with N-doped graphene for lithium ion batteries