A physiologically based model of pest–natural enemy interactions