Massive color-octet bosons and pairs of resonances at hadron colliders