According to researchers, the romantic lives of dogs include as much sex and misery as ours