A numerical method for conjugate heat transfer problems in hypersonic flows