The evolution of anthraquinones as an adaptive trait in lichen-forming fungi