Syria's army took control of all of Aleppo's Old City as rebels retreated in the face of an offensive that has seen troops make significant gains in opposition territory.