Determinants of adjacency matrices of graphs