Continuous variation in reproductive strategy as an adaptive response to population density in the moth Plodia interpunctella