Canine tear up when reunited with homeowners, analysis reveals