Yahoo makes online ad deal with newspapers