Generalized modeling of enzyme–ligand interactions using proteochemometrics and local protein substructures