Eating chocolate regularly ‘improves brain function’ according to new study