Reds lock up former No. 2 pick on 6-year contract extension