Plus: Dogs can tell when you’re happy, sad or frustrated, study shows