US and Russia are negotiating a deal that would allow people trapped in the besieged Syrian city of Aleppo to escape.