Fire-safety engineering and performance-based codes