Cubs hire Red Sox scout Matt Dorey