Eastern Bankshares to buy Century Bancorp for $642 million