The Egyptian army turned more than 30 schools in the Sinai Peninsula into military bases, an investigation has found.