Ukrainian officials said 3,810 civilians had been evacuated from besieged cities around the country, including about 2,000 who managed to flee Mariupol, the scene of brutal shelling by Russian forces.