Coupling methods for heat transfer and heat flow: Operator splitting and the parareal algorithm