Milk 'boosts cognitive function'