why do dogs cry when someone dies