Evolutionary responses by butterflies to patchy spatial distributions of resources in tropical environments