Relativistic many-body calculations of excitation energies and transition rates in ytterbiumlike ions