Unborn babies have "more stable and predictable" heart rates in the womb if the parents listen to classical music.