The Ghostwriter in the Machine: Navigating the Ethics of AI in Academic Writing