Measurement of the partial widths of the Z into up- and down-type quarks