Switzerland has agreed to legalise civil marriage and the right to adopt children for same-sex couples by a nearly two-thirds…