Principles of tax-efficient fund placement