Metal(loid) homeostasis, detoxification and tolerance in lichens and plants: advances in understanding mechanisms