Control of exciton-photon interactions in CuCl microcavities