Pharmacophore-based design by learning on voxel grids