The vice-principal of a high school whose pupils were on a capsized South Korean ferry has committed suicide as hopes fade of finding survivors.