Scotland could become first part of UK to legalize gay marriage