in what direction does heat flow on its spontaneously?