Clearing out your old iPhone is important. Here's what you need to do to wipe all your personal data.