Australian military official apologizes to Afghans