Approximate solutions to the optimal flow problem of multi-area integrated electrical and gas systems