Binding of flexible ligands to proteins: Valproic acid and its interaction with cytochrome P450cam