Red Sox trade with Rockies complete as right-hander gets sent to Boston