The greater the surprise, the greater the appreciation, study says