Biden calls attack on synagogue an act of terror