Radiative lifetimes of the low-lying electronic states of CuF and CuCl: Identification of the excited states of CuCl