Seemingly unrelated ridge regression in semiparametric models.