Sensitivity of Searches for New Signals and Its Optimization