Optimal cold atom thermometry using adaptive Bayesian strategies