Two arrested in NY synagogue terrorist plot