Statistics of peaks of weakly non-Gaussian random fields: Effects of bispectrum in two- and three-dimensions