Nanosheet-assembled MoSe2 and S-doped MoSe2−x nanostructures for superior lithium storage properties and hydrogen evolution reactions | Synapse