Corporate Tax Inversion: How it Works and When it Occurs