Leaching of metal ions in mine water from solid mine wastes