Moduli spaces of curves, moduli spaces of graphs and graph complexes