Russian shelling pounded a densely populated area in Ukraine’s second-largest city Thursday, killing at least two people and injuring at least 21 with a barrage that struck a mosque, a medical facility and a shopping area, according to officials and witnesses at the scene.