Mechanism of ubiquitylation by dimeric RING ligase RNF4