The Influence of Dynamic Environments on Polyethism in Response Threshold Models for Social Insects