Contrasting effects of habitat quantity and quality on moth communities in fragmented landscapes