Text this: A cohomology-based Gromov–Hausdorff metric approach for quantifying molecular similarity