Hilbert function of binomial edge ideals