Regulation and significance of ecdysteroid titre fluctuations in lepidopterous larvae and pupae