In situ template synthesis of hollow nanospheres assembled from NiCo2S4@C ultrathin nanosheets with high electrochemical activities for lithium storage and ORR catalysis.