Design of multispecific protein sequences using probabilistic graphical modeling