Betti numbers of almost complete intersections