The role of hydro-mechanical coupling in the behaviour of dam-foundation system