Polynomial Ore Extensions of Baer and p.p.-Rings