Conformational Sampling of Protein Flexibility in Generalized Coordinates: Application to Ligand Docking