Same-sex couples begin applying for marriage licenses