When are randomized trials unnecessary? A signal detection theory approach to approving new treatments based on non-randomized studies