Effects of taxonomic and trophic aggregation on food web properties