A new study says time spent with dogs increases brain activity in the prefrontal cortex