Dynamic construction of the neural networks underpinning empathy for pain