Warnings of overrun hospitals put nursing homes at risk, health official says