The clustering of galaxies and galaxy clusters: constraints on primordial non-Gaussianity from future wide-field surveys