Identification of a lepidopteran matrix metalloproteinase with dual roles in metamorphosis and innate immunity.