As police, firefighter numbers fall, officials urge prep