Care home bed shortage will affect nine in 10 areas