On the stability of loose and strong partitioned algorithms for thermal coupling of domains using higher order implicit time integation schemes