Bridging case-control studies and randomized clinical trials