A former teacher and school principal convicted of historical child sex abuse showed no remorse and no mercy to his victims, a judge has said.