Energy- and mass-preserving difference schemes for the weakly dissipative two-component Hunter–Saxton system | Synapse