Ditching iOS for Android, or no longer using your Apple ID? Here's what you need to do before deleting your data or deactivating your account.