There are no applicants at all for some posts, and pupils are paying the price, warn heads and parents