Instant gelation synthesis of 3D porous MoS2@C nanocomposites for lithium ion batteries.