Conn. court overturns same-sex marriage ban