Nepal has become the first country in traditionally conservative South Asia to legally recognise same-sex marriage.