Brunswick swears in first African-American mayor