Webster to buy Sterling in N.Y. for $5 billion