Illegal mining costs Afghanistan millions annually: UN