Betti numbers of some monomial ideals