Investigation of heat transfer in a rarefied molecular gas by using the Senftleben effect