Precipitates and hydrogen passivation at crystal defects in n- and p-type multicrystalline silicon