Resource diversity structures aquatic bacterial communities