Text this: Performance of ChatGPT on tasks involving physics visual representations: The case of the brief electricity and magnetism assessment