Care home crisis as nearly 10,000 beds lost from half of England’s local authorities