Researchers teach an AI to write better chart captions