Dodgers take RHP Cooper with pick No. 62