Security forces in Kazakhstan say they have killed dozens of anti-government rioters in the main city, Almaty.