Larval nutrition affects life history traits in a capital breeding moth