Humor from leaders can greatly enhance a team’s enthusiasm and effectiveness. But you must be thoughtful in how you use it.