Cops nab suspect in anti-Muslim incident outside Bay Ridge mosque