STAMP: statistical analysis of taxonomic and functional profiles