Bayesian Semiparametric Generalizations of Linear Models Using Polya Trees