Critical thinking in the AI era