Federal judge overturns Montana's ban on same-sex marriage