Effects of uniaxial strain on the exciton spectra of CuCl, CuBr, and CuI