Connectedness and irreducibility of compact quantum groups