Uses of risk analysis to achieve balanced safety in building design and operations