Church of Scotland votes to allow practicing homosexual clergy