Governor of western Afghan province quits as security worsens