Folded cascode structure