Analytic solution of the temperature jump problem for the BGK model