The court of common pleas may grant a dissolution of marriage.