How did mental health become so biomedical? The progressive erosion of social determinants in historical psychiatric admission registers