Causes and consequences of developmental plasticity of melanisation in insects.