Alternative modes of binding of proteins with tandem SH2 domains