Optimal Pretreatment System of Flowback Water from Shale Gas Production