Hyperfine structures, isotope shifts, and transition rates of C II, N III, and O IV from relativistic configuration interaction calculations