Revealing mechanisms for SH2 domain mediated regulation of the protein tyrosine phosphatase SHP-2