Stressed out? Your dog may feel it too, study suggests