From Witten's model of superconducting strings to Q-ball type solutions