Artificial intelligence and academic writing