AI tools like ChatGPT and Google's Gemini are 'irrational' and prone to making simple mistakes, study finds