Tanzanian president backs official who beat students with a stick