U.S., China ink maritime agreement