Group theoretical origin of CP violation