Fruits and vegetables are well-known to be good for the body, but a recent study suggests they can benefit your mental state as well.