Study: Dogs can feel jealous, too