Hierarchical NiCo2O4 nanowalls composed of ultrathin nanosheets as electrode materials for supercapacitor and Li ion battery applications