Two former aides to New Jersey's governor have been sentenced to jail for creating traffic jams at the busiest bridge in the United States for political revenge, bringing the case to a close.