Crystal planes cracking process produced MoS2-based composite catalyst for electrocatalytic and near-infrared region photocatalytic applications