Brannan, Quaglione win Bay Ridge council primaries