Synthesis of Fe3O4 nanocubes anchored in MgCo2O4 nanoneedle arrays for flexible all-solid-state asymmetric supercapacitor