Resource allocation trade-offs and the loss of chemical defences during apple domestication.