US condemns shooting attack on Jerusalem synagogue that killed 7