Exploring protein flexibility during docking to investigate ligand-target recognition