A new study says dogs analyze facial expressions just like humans do