Primordial non-Gaussianity from biased tracers: likelihood analysis of real-space power spectrum and bispectrum