Optimality properties of alternative systems of taxation of foreign capital income