Boston schools superintendent serves as substitute teacher amid staff shortages