Silvestro Valier, Doge of Venice