The West Riding Lunatic Asylum and the making of the modern brain sciences in the nineteenth century