Rotational and hyperfine structure in the yellow system of CuF