Bulk viscosity in hybrid stars