Moorhead elects first female mayor