It has been estimated that about 8 percent of the world’s total wealth — a total of $7.6 trillion — is held in offshore tax havens. Here's how they work.