Judge overturns Calif. gay marriage ban