Insects in fragmented forests: a functional approach