Almost 20% of the shelters are unsuitable or don’t exist at all, with officials admitting Iran war ‘has exposed just how ill-prepared we are’