Sox make qualifying offer to Ortiz