Churches threaten to dismiss staff who wed same-sex partners