Effects of uniaxial stress on the excitons in single crystals of CuI: Comparison with thin films