Two-band effects in the transport properties of MgB2