Church of Scotland moves a step closer to conducting same-sex marriages