Cowboys hire Linehan as offensive play-caller