Investigation of dislocation structures in ribbon- and ingot-grown multicrystalline silicon