Optimization and layout of a chlorine self-production plant for applications in Gaza and Tanzania