Environment and animal development : genes, life histories and plasticity