Capital income taxation in a growing open economy