2-D numerical study of hydrated wedge dynamics from subduction to post-collisional phases