Nearly 3 million refugees have fled Ukraine while residents of Mariupol have had little access to power, food and water.