Stereotypies and endorphins: functional significance of developing stereotypies in tethered sows