Measurements of the branching fractions of the decays $B_s^0 \to D_s^{ \mp }{K^{\pm }}$ and $B_s^0 \to D_s^{ - }{\pi^{ + }}$