The court may grant a divorce in favor of one spouse if the other spouse has committed adultery.