Balancing safety and efficiency in human decision making