Study shows the brains of 'gritty' people work differently from people who are less perserverant