Physical properties of a sunspot chromosphere with umbral flashes