Confidence distributions from likelihoods by median bias correction