17 dead in Afghan military helicopter crash: officials