dog insomnia mental illness