Structural changes in DNA-binding proteins on complexation