Near-wall behavior of RANS turbulence models and implications for wall functions