Church of Scotland votes to allow partnered gay and lesbian ministers