Surface measures and integration by parts formula on levels sets induced by functionals of the Brownian motion in Rn