Eastern Bank’s parent company has agreed to acquire Century Bank’s parent in an all-cash deal. The transaction would bring together two of the region’s largest lenders just months after Eastern went public.