how are impulses transmitted through the heart?