Data-driven and task-specific scoring functions for predicting ligand binding poses and affinity and for screening enrichment