AI in research and academic writing