Institute of Physics says ‘critical’ shortage means 700,000 pupils are deprived of a subject specialist.