NATO soldier dies in explosion in Afghanistan