Five civilians died and 10 were injured when shells exploded near a funeral procession in a suburb of the Ukrainian eastern city of Mariupol on Tuesday, city hall said.