An Afghan Defense Ministry spokesman , Mohammed Zaher Azimi , said the blast came as officers and soldiers were leaving the training center at the end of the day and were waiting for buses to take them home .