More than 5,000 refugees have lost their lives attempting to cross the Mediterranean in 2016, the UN says.