Interplay of rationality and morality in using ChatGPT for academic misconduct