An Iranian missile attack on the Israeli town of Beit Shemesh has killed at least nine people and wounded dozens more.