Butterfly community structure in fragmented habitats