The Lovász ϑ function, SVMs and finding large dense subgraphs