Gravar-mail: Adaptive gene- and pathway-trait association testing with GWAS summary statistics