Pick and Freeze estimation of sensitivity index for static and dynamic models with dependent inputs