The renormalization transformation of two-type branching models