Sensitivity to acidic pH in benthic invertebrate assemblages with different histories of exposure to metals