Income tax: How debt and equity investments are taxed