OceanFirst FInancial Corp. said it would buy Capital Bank for $80 million, continuing its expansion into Southern New Jersey.