SMS dit: Bayesian photometric redshifts with empirical training sets