Gay couple ties knot in Maine for first time