Study: Petting dogs has positive effect on brain activity