Gravar-mail: Quantifying environmental adaptation of metabolic pathways in metagenomics