Reproductive decisions are sensitive to cues of life expectancy: the case of a moth