Bayesian distances and extinctions for giants observed by Kepler and APOGEE | Publicación