Synthesis of Porous Nanostructured MoS2 Materials in Thermal Shock Conditions and Their Performance in Lithium-Ion Batteries