Properties of microcrystalline silicon. IV. Electrical conductivity, electron spin resonance and the effect of gas adsorption