Iraqi forces say they've captured two key neighbourhoods in the battle for Mosul that will allow a safe corridor for civilians to escape the city.