Performance of GPT-3.5 and GPT-4 on the Japanese Medical Licensing Examination: Comparison Study