Combination of direct and inverse vertical transistors