Structural study of protein-protein and nucleic acid-protein complexes: stability and recognition specificity