Chemical speciation of heavy metals and arsenic in tailings and soils contaminated by mining activities (Northern Portugal)