Brooklyn swears in nation's first female Hasidic judge