Contributions of CuO2 planes and CuO chains on the transport properties of YBa2Cu4O8