Hundreds of same-sex couples line up for midnight marriage licenses