Adjoining counties may purchase, establish, build, maintain, and operate bridges and ferries or public highways across streams, swamps, waters, or marshes which form the boundary between two counties upon such terms as may be agreed upon by the county commissions of the adjoining counties.