Application of holomorphic embedding to the power-flow problem