Bayesian X-ray analysis (nested sampling for Xspec and Sherpa)