Synergy of nanoconfinement and surface oxygen in recrystallization of sulfur melt in carbon nanocapsules and the related Li–S cathode properties