Animals reared near ex-mining sites ‘can have high, potentially toxic concentrations of metals’, academics find