Predicting which people with psychosocial distress are at risk of becoming dependent on state benefits: analysis of routinely available data