Resource polyphenism increases species richness: a test of the hypothesis