Mining companies urged to cooperate with communities