Charge-exchange recombination spectroscopy and beam-emission spectroscopy for C-Mod