Extracting minerals can bring a range of benefits, but mines can also provoke conflict and harm people and the environment.