Egyptian officials said the deaths were caused by a stampede , but witnesses said police beat the Sudanese .