The role of environmental stress in fruit pigmentation