The Coca-Cola Co has confirmed it is to build a factory in Gaza, saying it reflects the company's "optimism for the future of the area".