Modeling of wax deposition on transporting pipelines with and without chemical injection