Capital income taxation in growing open economies