Cowboys ink Lee to six-year extension