Jail for former teacher who breached conditional warning for filming up schoolgirls’ skirts