Church of Sweden commits to same-sex marriages