Skilled nursing homes are dumping grounds for the mentally ill