The US Secretary of State has denounced as "acts of terrorism" a wave of Palestinian attacks targeting Israelis, while on a visit to Jerusalem.