Official: Military aircraft crashes in Afghanistan