Ensuring access to high-quality resources reduces the impacts of heat stress on bees